# FROM doctorkirk/oracle-19c:19.9
FROM pubrepo.jiagouyun.com/image-repo-for-testing/oracle:19c-ee-datakit

# ADD instantclient_21_10 /opt/instantclient/
# ADD oracle  /home/oracle/oracle
# ADD run1.sh /home/oracle/run1.sh
ADD run2.sh /home/oracle/run2.sh
# ADD runOracle.sh /opt/oracle/runOracle.sh

USER root

RUN rm -rf /opt/instantclient/*

# RUN mkdir -p /usr/local/datakit/externals \
#   && chown -R oracle:dba /usr/local/datakit/externals

USER oracle
